package Entity;

import java.util.Set;


/**
 * 
 * 
 * @author ch
 *
 *  ѧ��ʵ����
 *
 */
public class User {
	private static final long serialVersionUID = 1L;

	private String studentId;
	private String stupassword;
	private String studentName;
	private String stusex;
	private String telephone;
	private int flag;
	private String qq;
	private  Set<Activity> us_aclist;
	private  Set<Stlist> us_stlist;
	



	public User() {
		super();
	}
	
	
	public User(String stupassword, String telephone, String qq) {
		super();
		this.stupassword = stupassword;
		this.telephone = telephone;
		this.qq = qq;
	}


	public User(String stupassword, String studentName, String stusex, String telephone, int flag, String qq) {
		super();
		this.stupassword = stupassword;
		this.studentName = studentName;
		this.stusex = stusex;
		this.telephone = telephone;
		this.flag = flag;
		this.qq = qq;
	}
	public User(String studentId, String stupassword, String studentName, String stusex, String telephone, int flag,
			String qq) {
		super();
		this.studentId = studentId;
		this.stupassword = stupassword;
		this.studentName = studentName;
		this.stusex = stusex;
		this.telephone = telephone;
		this.flag = flag;
		this.qq = qq;
	}
	public String getStudentId() {
		return studentId;
	}
	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	
	public String getStupassword() {
		return stupassword;
	}
	public void setStupassword(String stupassword) {
		this.stupassword = stupassword;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	
	public String getStusex() {
		return stusex;
	}
	public void setStusex(String stusex) {
		this.stusex = stusex;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public Set<Activity> getUs_aclist() {
		return us_aclist;
	}
	public void setUs_aclist(Set<Activity> us_aclist) {
		this.us_aclist = us_aclist;
	}
	public Set<Stlist> getUs_stlist() {
		return us_stlist;
	}
	public void setUs_stlist(Set<Stlist> us_stlist) {
		this.us_stlist = us_stlist;
	}


	@Override
	public String toString() {
		return "User [studentId=" + studentId + ", stupassword=" + stupassword + ", studentName=" + studentName
				+ ", stusex=" + stusex + ", telephone=" + telephone + ", flag=" + flag + ", qq=" + qq + ", us_aclist="
				+ us_aclist + ", us_stlist=" + us_stlist + "]";
	}
	
	
	
}
